package com.wondertek.poms.core.service;

import com.wondertek.poms.common.service.IService;
import com.wondertek.poms.dao.po.ChannelPackage;
import com.wondertek.poms.dao.pojo.ChannelPackagePojo;
import com.wondertek.poms.dao.vo.ChannelPackageVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface IChannelPackageService extends IService<ChannelPackage, Long> {

    Page<ChannelPackage> findAll(ChannelPackagePojo entity, int page, int rows, String sord, String sidx);

    void deleteByPackageId(Long packageId);

    List<String> getAllPackageNames();

    List<ChannelPackage> findAllByIsPublish();

    List<ChannelPackageVo> findForSelect();

    Map<String,Object> getChannelPackageMap();

}
